package com.iven.xie.demo.beans;

public class ResObject {
    private int code;
    private Object data;
    private String desc;

    public ResObject(int code, Object data) {
        super();
        this.code = code;
        this.data = data;

    }
    public ResObject(int code, String desc) {
        super();
        this.code = code;
        this.desc = desc;
    }




    public ResObject(int code, Object data, String desc) {
        super();
        this.code = code;
        this.data = data;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
